import {CommonIp} from "../entity/Ip";
export class CommonLogin extends CommonIp{
  public IsEmail(email:string){
    var myreg = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
    return myreg.test(email);
  }
}
